package com.xzx.enu;

import lombok.Getter;

/**
 *
 * @author xinzhixuan
 * @version 1.0
 * @date 2025/8/22 16:00
 */
@Getter
public enum ErrorCode {
    ERROR("111111", "内部错误"),
    USERNAME_PASSWORD_NOT_NULL("0010000", "用户名或密码不能为空"),
    USERNAME_PASSWORD_ERROR("0010000", "用户名或密码错误");
    private final String code;
    private final String message;
    ErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
